 <div>Navigation Parameters</div>
  <form action="/admin/index.php/processForm/comId/<?php echo ($this->id) ? $this->id : 'NEW'; ?>/comClass/Nav/comAction/editFormSave" name="editForm" method="post">
  <table width="100%"  border="0" cellpadding="0">
    <tr>
      <td>Title</td>
      <td><input type="text" style="width: 300px;" id="title" name="title" onchange="$('#headerTitle').html ($(this).val())"></td>
    </tr>
    <tr>
      <td>URL</td>
      <td><input type="text" style="width: 300px;" id="URL" name="URL"></td>
    </tr>
	<tr>
      <td>Target Component</td>
      <td><?php echo Component::componentSelector ('targetId', 'targetClass') ?></td>
    </tr>
    <tr>
      <td>Style</td>
      <td><?php echo Component::styleSelector ('style') ?></td>
    </tr>
	<tr>
      <td>Default Template</td>
      <td><?php echo Component::templateSelector ('Nav', 'template') ?></td>
    </tr>
    <tr>
      <td>Edit Form Template</td>
      <td><?php echo Component::templateSelector ('Nav', 'editFormTemplate') ?></td>
    </tr>
    <tr>
      <td colspan="2" align="right"><input type="Submit" name="Submit" value="Save"></td>
    </tr>
  </table>
</form>
<script type="text/javascript">
<?php if (isset($this->title)) { ?>
	$('#title').val ('<?php echo $this->title ?>');
<?php } ?>
<?php if (isset($this->URL)) { ?>
	$('#URL').val ('<?php echo $this->URL ?>');
<?php } ?>
<?php if ($com = $this->getComponent()) { ?>
	$('#targetClass').val ('<?php echo get_class ($com) ?>').trigger ('change');
	$('#targetId').val ('<?php echo $com->id ?>');
<?php } ?>
<?php if (isset($this->style)) { ?>
$('#style_folder').val ('<?php echo dirname ($this->style) ?>').trigger('change');
$('#style_file').val ('<?php echo basename ($this->style) ?>').trigger('change');
<?php } ?>
<?php if (isset($this->template)) { ?>
$('#template').val ('<?php echo $this->template ?>');
<?php } ?>
<?php if (isset($this->editFormTemplate)) { ?>
$('#editFormTemplate').val ('<?php echo $this->editFormTemplate ?>');
<?php } ?>
</script>